/* 通用 */
.card-base {
	--border-color: #cbc0a9;
	--background-color: #fff;
	position: relative;
	background-color: #f8f5f1;
	border-radius: 24px;
}

.card-title {
	display: flex;
	margin: 16px 0;
	font-weight: normal;
	font-size: 32px;
	line-height: 34px;
}

.card-title::before {
	content: "";
	width: 8px;
	margin-right: 10px;
	background-color: #cbc0a9;
}

.medium {
	min-width: 310px;
}

.large {
	min-width: 440px;
}

/* 整体布局 */
.card-base {
	position: relative;
	display: flex;
	flex-direction: column;
}

.card-base > main {
	padding: 40px 16px 0;
	border-style: solid;
	border-width: 0 70px 70px 70px;
	border-image: url("https://adachi-bot.oss-cn-beijing.aliyuncs.com/images/card/card-base-bg.png") 70 fill;
}

/* 用户信息页 */
.card-base .card-user .card-user-info {
	overflow: hidden;
}

.card-base .card-user .card-user-info .card-status-box {
	display: grid;
	grid-template-columns: repeat(4, 288px);
	grid-row-gap: 15px;
	justify-content: space-between;
	justify-items: center;
	padding: 14px 18px;
	margin-bottom: 15px;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	background-color: var(--background-color);
	list-style: none;
	font-size: 30px;
	line-height: 56px;
}

/* 区域探索 */
.card-base .card-user .card-exploration {
	margin-top: 24px;
}

.card-base .card-user .card-exploration .card-exploration-box {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 0 -10px;
}

.card-base .card-user .card-exploration .card-exploration-box .card-exploration-item {
	flex: 1;
	margin: 0 10px 20px;
}

/* 家园 */
.card-base .card-home {
	margin-bottom: 20px;
}

.card-base .card-home .card-home-box .card-home-info {
	display: inline-block;
	padding: 0 12px;
	border: 1px solid var(--border-color);
	border-radius: 20px;
	margin-bottom: 10px;
	background-color: var(--background-color);
	font-size: 20px;
	line-height: 40px;
}

.card-base .card-home .card-home-box .card-home-list {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -10px;
}

.card-base .card-home .card-home-box .card-home-list .card-home-item {
	flex: 1;
	margin: 0 10px 20px;
	height: 140px;
	border-radius: 6px;
}

.card-base .card-home .card-home-box .card-home-list .card-home-item .box-block {
	height: 100%;
}

/* 角色 */
.card-base .card-character .card-character-title {
	margin: 0 auto 30px auto;
	padding: 12px 0;
	border-bottom: 4px solid #d6c2b1;
	font-size: 36px;
	text-align: center;
	color: #666;
}

.card-base .card-character .character-line {
	display: grid;
	grid-template-columns: repeat(7, auto);
	grid-row-gap: 15px;
	justify-content: space-between;
	justify-items: center;
}

.card-base .sign {
	margin: 20px -14px -34px 0;
	font-size: 24px;
	color: #636363;
	text-align: right;
}
